package com.czy.owner.entity;

import com.chad.library.adapter.base.entity.MultiItemEntity;
import com.czy.owner.adapter.ExpandableItemAdapter;

import java.util.List;

/**
 * Created by luoxw on 2016/8/10.
 */

public class Person implements MultiItemEntity {
    private List<String> list;

    public Person(String name, int age) {
        this.age = age;
        this.name = name;
    }

    public List<String> getList() {
        return list;
    }

    public void setList(List<String> list) {
        this.list = list;
    }

    public String name;
    public int age;

    @Override
    public int getItemType() {
        return ExpandableItemAdapter.TYPE_PERSON;
    }
}